import request from '@/utils/request'

// 查询app内容设置列表
export function listAppContentSetting(query) {
    return request({
        url: '/system/appContentSetting/list',
        method: 'get',
        params: query
    })
}

// 查询app内容设置详细
export function getAppContentSetting(id) {
    return request({
        url: '/system/appContentSetting/' + id,
        method: 'get'
    })
}

// 新增app内容设置
export function addAppContentSetting(data) {
    return request({
        url: '/system/appContentSetting',
        method: 'post',
        data: data
    })
}

// 修改app内容设置
export function updateAppContentSetting(data) {
    return request({
        url: '/system/appContentSetting',
        method: 'put',
        data: data
    })
}

// 删除app内容设置
export function delAppContentSetting(id) {
    return request({
        url: '/system/appContentSetting/' + id,
        method: 'delete'
    })
}

// 导出app内容设置
export function exportAppContentSetting(query) {
    return request({
        url: '/system/appContentSetting/export',
        method: 'get',
        params: query
    })
}